#include <51func.h>
int main(int argc, char *argv[])
{
    // ./12_file_length file1
    ARGS_CHECK(argc,2);
    struct stat statbuf;
    int ret = stat(argv[1],&statbuf);
    ERROR_CHECK(ret,-1,"stat");
    printf("file length = %ld\n", statbuf.st_size);
    return 0;
}

